import { BasicFetchResult } from '../model/baseModel';
import { defHttp } from '@/utils/http/axios';
const api = 'camunda/api/engine/engine/default';

export const flowXml = (defId?: any) =>
  defHttp.get<BasicFetchResult<any>>({
    url: `${api}/process-definition/${defId}`,
  });
